package com.hmall.clients.service;

import com.hmall.clients.pojo.Search;
import com.hmall.common.doc.ItemDoc;
import com.hmall.common.dto.PageDTO;
import com.hmall.common.pojo.Item;

import java.util.List;
import java.util.Map;

public interface SearchService {
    void saveList(List<Item>items);

    List<String> getSuggest(String key);

    Map<String,List<String>> filters(Search search);

    PageDTO<ItemDoc> getlist(Search search);

    void putaway(Item item);

    void soldout(Item item);
}
